spi: ti_qspi: Fix SPI_3WIRE checking using mode
authorJagan Teki <[email protected]>
Thu, 3 Dec 2015 16:55:20 +0000 (22:25 +0530)
committerJagan Teki <[email protected]>
Fri, 11 Dec 2015 16:42:23 +0000 (22:12 +0530)
commitcd337da21ecea0f34335d3b2d33bcd28d9e3d0d0
treee37d44b14d4173d8090b1d63c607e8c084db4321
parent379b49d82ee3304b55ece1f32d95fbeef9e0176a
spi: ti_qspi: Fix SPI_3WIRE checking using mode

SPI_3WIRE is spi mode not spi flags, so this patch fixed
the spi-3wire checking throgh mode instead of flags.

Cc: Mugunthan V N <[email protected]>
Acked-by: Simon Glass <[email protected]>
Signed-off-by: Jagan Teki <[email protected]>
drivers/spi/ti_qspi.c